package com.h3c.ptability.dto;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
    import io.swagger.annotations.ApiModel;
    import io.swagger.annotations.ApiModelProperty;

/**
 * Copyright (C), 2020-2020, h3c
 * FileName: PtAppApiDTO
 *
 * @Author: l22886
 * @Date: 2022-03-14
 * Description: pt_app_api dto实体
 * Version: 1.0
 */
@ApiModel(value="PtAppApi对象", description="")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PtAppApiDTO {


    @ApiModelProperty(value = "接口ID")
    private String apiId;

    @ApiModelProperty(value = "应用ID")
    private String appId;

    @ApiModelProperty(value = "接口名称")
    private String apiName;

    @ApiModelProperty(value = "接口访问路径（支持正则表达式）")
    private String apiPath;

    @ApiModelProperty(value = "接口说明")
    private String apiRemark;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty(value = "创建人工号")
    private String creatorId;

    /**
     * 排序字段 + 升序， -降序
     * 比如 +updateTime 根据 修改时间升序排序，-updateTime 根据 修改时间降序排序
     */
    private String orderBy;

}
